<template>
  <div>
    <el-dropdown trigger="click">
        <!-- 默认是鼠标移动触发下拉菜单，可以通过trigger属性更改如 trigger="click" -->
        <span class="el-dropdown-link">
            下拉菜单<i class="el-icon-arrow-down el-icon--right"></i>
        </span>

      <el-dropdown-menu slot="dropdown">
        <el-dropdown-item>设置</el-dropdown-item>
        <el-dropdown-item>修改密码</el-dropdown-item>
        <el-dropdown-item disabled>更换头像</el-dropdown-item>
        <el-dropdown-item disabled>登入</el-dropdown-item>
      </el-dropdown-menu>
    </el-dropdown>
  </div>
</template>

<script>
export default {
  name: "Dropdown",
};
</script>

<style>
</style>